package com.ruoyi.common.pojo;



import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by stephen.zhang on 15/6/29.
 */
public class OrderCondition extends AbstractCondition implements Serializable {

    private static final long serialVersionUID = 7866002918627261603L;
    /**
     * 订单id(md5加密)
     */
    private String key;

    /**
     * 联系人手机号
     */
    private String contactPhone;

    /**
     * 航班信息
     */
    private List<AfareSegment> segments;

    /**
     * 乘机人信息
     */
    private List<AFarePassenger> passengers;

    /**
     * 扩展字段
     */
    private Map<String, String> dataExt;

    public Map<String, String> getDataExt() {
        return dataExt;
    }

    public void setDataExt(Map<String, String> dataExt) {
        this.dataExt = dataExt;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public List<AfareSegment> getSegments() {
        return segments;
    }

    public void setSegments(List<AfareSegment> segments) {
        this.segments = segments;
    }

    public List<AFarePassenger> getPassengers() {
        return passengers;
    }

    public void setPassengers(List<AFarePassenger> passengers) {
        this.passengers = passengers;
    }

    @Override
    public String toString() {
        return "OrderCondition{" +
                "key='" + key + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", segments=" + segments +
                ", passengers=" + passengers +
                ", dataExt=" + dataExt +
                '}';
    }
}
